cmake_minimum_required(VERSION 3.0.2)
project(odometry_pkg)

find_package(catkin REQUIRED COMPONENTS
  roscpp
  nav_msgs
  geometry_msgs
  tf
)

catkin_package(
  CATKIN_DEPENDS roscpp nav_msgs geometry_msgs tf
)

include_directories(
  ${catkin_INCLUDE_DIRS}
)

# 确保将你的 C++ 文件命名为 odom_calibrator.cpp 并放在 src/ 目录下
add_executable(calibrator_node src/odom_calibrator.cpp)

target_link_libraries(calibrator_node
  ${catkin_LIBRARIES}
)